Definition at line 30 of file CXMLNode.hpp.
| Exponent::IO::CXMLNode::CXMLNode | ( | const CString & | name, | |
| CXMLNode * | parent = NULL | |||
| ) |
Construction
| name | The name of the node | |
| parent | The parent node |
| virtual Exponent::IO::CXMLNode::~CXMLNode | ( | ) | [virtual] |
Destruction
| void Exponent::IO::CXMLNode::addAttribute | ( | CXMLAttribute * | attribute | ) |
Add a new attribute
| attribute | The new attribute |
| void Exponent::IO::CXMLNode::addAttribute | ( | const CString & | name, | |
| const CString & | value | |||
| ) |
Add an attribute to the node
| name | The name of the attribute | |
| value | The value of the attribute |
| void Exponent::IO::CXMLNode::addChildNode | ( | const CString & | name | ) |
Add a child node
| name | The name of the child node |
| void Exponent::IO::CXMLNode::addChildNode | ( | CXMLNode * | node | ) |
Add a child node
| node | The child node to add |
| void Exponent::IO::CXMLNode::clearAttributes | ( | ) |
Clear all the attributes
| void Exponent::IO::CXMLNode::clearChildNodes | ( | ) |
Clear all the attributes
| CXMLAttribute* Exponent::IO::CXMLNode::getAttribute | ( | const CString & | name | ) |
Get an attribute wiht the name specified
| name | The name of the attribute |
| CXMLAttribute* | The attribute with the nae or NULL on error |
| CXMLAttribute* Exponent::IO::CXMLNode::getAttribute | ( | const long | index | ) |
Get an attribute at an index
| index | the index of the attribute |
| CXMLAttribute* | The attribute from the index or NULL on error |
| CXMLNode* Exponent::IO::CXMLNode::getChildNode | ( | const CString & | name | ) |
Get an node wiht the name specified
| name | The name of the node |
| CXMLNode* | The child node or NULL on error |
| CXMLNode* Exponent::IO::CXMLNode::getChildNode | ( | const long | index | ) |
Get an node at an index
| index | the index of the node |
| CXMLNode* | The child node or NULL on error |
| const CXMLAttribute* Exponent::IO::CXMLNode::getConstAttribute | ( | const CString & | name | ) | const |
Get an attribute wiht the name specified
| name | The name of the attribute |
| const | CXMLAttribute* The attribute with the nae or NULL on error |
| const CXMLAttribute* Exponent::IO::CXMLNode::getConstAttribute | ( | const long | index | ) | const |
Get an attribute at an index
| index | the index of the attribute |
| CXMLAttribute* | The attribute from the index or NULL on error |
| const CXMLNode* Exponent::IO::CXMLNode::getConstChildNode | ( | const CString & | name | ) | const |
Get an node wiht the name specified
| name | The name of the node |
| const | CXMLNode* The child node or NULL on error |
| const CXMLNode* Exponent::IO::CXMLNode::getConstChildNode | ( | const long | index | ) | const |
Get an node at an index
| index | the index of the node |
| const | CXMLNode* The child node or NULL on error |
| const CXMLNode* Exponent::IO::CXMLNode::getConstFirstChildNode | ( | const CString & | name | ) | const |
Get the first chld node with the name specified, depth first search
| name | THe name of the node |
| const | CXMLNode* The first child node or NULL on error |
| CXMLNode* Exponent::IO::CXMLNode::getFirstChildNode | ( | const CString & | name | ) |
Get the first chld node with the name specified, depth first search
| name | THe name of the node |
| CXMLNode* | The first child node or NULL on error |
| const CString& Exponent::IO::CXMLNode::getNodeName | ( | ) | const |
Get the name of the node
| const | CString &name |
| long Exponent::IO::CXMLNode::getNumberOfAttributes | ( | ) | const |
Get the number of attributes
| long | Number of attributes |
| long Exponent::IO::CXMLNode::getNumberOfChildNodes | ( | ) | const |
Get the number of chid nodes
| long | The number of child nodes |
| CXMLNode* Exponent::IO::CXMLNode::getParentNode | ( | ) |
Get the parent node
| CXMLNode | *The parent node |
| CString Exponent::IO::CXMLNode::getValueOfAttributeNamed | ( | const CString & | name | ) |
Value of attribute named a specific thing
| CString | The value of the attribute, on error is CString::CSTRING_EMPTYSTRING; |
| void Exponent::IO::CXMLNode::removeAttribute | ( | const CString & | name | ) |
Remove the named attribute
| name | The name of the attribute |
| void Exponent::IO::CXMLNode::removeAttribute | ( | CXMLAttribute * | attribute | ) |
Remove an attribute at a specified index
| attribute | The attributte to remove |
| void Exponent::IO::CXMLNode::removeChildNode | ( | const CString & | name | ) |
Remove the named node
| name | The name of the node |
| void Exponent::IO::CXMLNode::removeChildNode | ( | CXMLNode * | node | ) |
Remove an node at a specified index
| node | The node to remove |
| void Exponent::IO::CXMLNode::setNodeName | ( | const CString & | name | ) |
SEt the name of the node
| name | The name of the node |
| void Exponent::IO::CXMLNode::setParentNode | ( | CXMLNode * | parent | ) |
Set parent node
| parent | The parent node |
Tag attributes
Definition at line 238 of file CXMLNode.hpp.
Children nodes
Definition at line 240 of file CXMLNode.hpp.
CString Exponent::IO::CXMLNode::m_name [protected] |
Name of the node
Definition at line 237 of file CXMLNode.hpp.
CXMLNode* Exponent::IO::CXMLNode::m_parentNode [protected] |
Parent node
Definition at line 239 of file CXMLNode.hpp.